package org.k.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.k.domain.UserInfo;

/**
 * Created by hengxianwang on 16-11-27.
 */
@Mapper
public interface UserMapper {

    //@Select("select * from lt_user where id=#{id}")
    public UserInfo findOne(String id);

    @Update("update lt_user set username=#{userName} where id=#{id}")
    public void update(UserInfo userInfo);

}
